/**
 * The main class of our drawing editor application.
 * This only contains the main method,
 * which creates a model, creates a GUI (passing the model to the GUI),
 * and shows the GUI.
 * 
 * @author Gregory Banfi (gregory.banfi@usi.ch); Simone D'Avico (simone.davico@usi.ch); Giuseppe Mendola (giuseppe.mendola@usi.ch);
 * @version 17.05.2011
 */

package ch.usi.inf.pf2;

import java.awt.EventQueue;

import ch.usi.inf.pf2.gui.DrawingFrame;
import ch.usi.inf.pf2.gui.Model;

public final class LogicSim {

	public static void main(final String[] args) {
		// create the model
		final Model model = new Model();

		// create the GUI (in the GUI thread)
		EventQueue.invokeLater(new Runnable() {
			@Override
			public void run() {
				final DrawingFrame frame = new DrawingFrame(model);
				frame.setVisible(true);
			}
		});
		
		//ReadFile.readFile();
	}

}